﻿using System.Collections.Generic;
using Entity;
using Common.Background.Entity;

namespace Common.Background.Service
{
    /// <summary>
    /// 
    /// </summary>
    public interface IWebManageMenus
    {
        
        /// <summary>
        /// 得到菜单
        /// </summary>
        /// <param name="WebDepartments"></param>
        WebManageMenus GetWebManageMenus(WebManageMenus WebManageMenus);

        /// <summary>
        /// 修改菜单
        /// </summary>
        /// <param name="WebManageMenus"></param>
        /// <param name="vp"></param>
        /// <returns></returns>
        void SetWebManageMenus(WebManageMenus WebManageMenus);

        /// <summary>
        /// 添加列表
        /// </summary>
        /// <param name="WebManageMenus"></param>
        void AddWebManageMenus(WebManageMenus WebManageMenus);

        /// <summary>
        /// 删除菜单
        /// </summary>
        /// <param name="WebManageMenus"></param>
        void DeleteManageMenus(WebManageMenus WebManageMenus);

        /// <summary>
        /// 返回菜单列表
        /// </summary>
        /// <param name="WebManageMenus"></param>
        /// <param name="vp"></param>
        /// <returns></returns>
       List<WebManageMenus> WebManageMenusList(WebManageMenus WebManageMenus, VPredication vp);
    }
}
